package com.fmyd.qizhuazhua.http;

import com.loopj.android.http.RequestParams;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;

/**
 * 描述:
 * Created by xyh on 2017/4/25.
 */

public class RqParams extends RequestParams {

    Map<String, String> map = new HashMap<String, String>();

    @Override
    public void put(String key, String customFileName, File file) throws FileNotFoundException {
        super.put(key, customFileName, file);
    }

    @Override
    public void put(String key, String value) {
        map.put(key, value);
        super.put(key, value);
    }


    @Override
    public void put(String key, File file) throws FileNotFoundException {
        super.put(key, file);
    }

    @Override
    public void put(String key, File file, String contentType) throws FileNotFoundException {
        super.put(key, file, contentType);
    }

    @Override
    public void put(String key, File file, String contentType, String customFileName) throws FileNotFoundException {
        super.put(key, file, contentType, customFileName);
    }

    @Override
    public void put(String key, File[] files) throws FileNotFoundException {
        super.put(key, files);
    }

    @Override
    public void put(String key, File[] files, String contentType, String customFileName) throws FileNotFoundException {
        super.put(key, files, contentType, customFileName);
    }

    @Override
    public void put(String key, InputStream stream) {
        super.put(key, stream);
    }

    @Override
    public void put(String key, InputStream stream, String name) {
        super.put(key, stream, name);
    }

    @Override
    public void put(String key, InputStream stream, String name, String contentType) {
        super.put(key, stream, name, contentType);
    }

    @Override
    public void put(String key, InputStream stream, String name, String contentType, boolean autoClose) {
        super.put(key, stream, name, contentType, autoClose);
    }

    @Override
    public void put(String key, Object value) {
        super.put(key, value);
    }

    @Override
    public void put(String key, int value) {
        super.put(key, value);
    }

    @Override
    public void put(String key, long value) {
        super.put(key, value);
    }
}
